package com.modules.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.common.entity.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 部门
 *
 * @author yyq
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DeptEntity extends BaseEntity {

	/** 部门ID*/
	@TableId(type=IdType.AUTO)
	private Integer did;
	/** 部门名称*/
    private String dname; 		
    /** 上级ID*/
    private Integer parentId;
    /** 备注*/
    private String remarks;  	


}
